package com.hrpmar.controller.dto;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by c on 2017-12-01.
 */
public class OsdetailsDto {
    private Integer osdId;                  //出库明细序号
    private String osNum;                   //出库编号
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date osdValiddate;              //有效日期
    private String drugNum;                  //药品编号
    private String osdLotnum;                //批号
    private Float osdOneprice;             //零售价格
    private Integer osdNum;                 //出库数量
    private String drugName;               //药品名称
    private Integer keyId;                  //mapKey
    private Integer delQoh;                 //现有数量

    public Integer getDelQoh() {
        return delQoh;
    }

    public void setDelQoh(Integer delQoh) {
        this.delQoh = delQoh;
    }

    public Integer getOsdId() {
        return osdId;
    }

    public void setOsdId(Integer osdId) {
        this.osdId = osdId;
    }

    public String getOsNum() {
        return osNum;
    }

    public void setOsNum(String osNum) {
        this.osNum = osNum;
    }

    public Date getOsdValiddate() {
        return osdValiddate;
    }

    public void setOsdValiddate(Date osdValiddate) {
        this.osdValiddate = osdValiddate;
    }

    public String getDrugNum() {
        return drugNum;
    }

    public void setDrugNum(String drugNum) {
        this.drugNum = drugNum;
    }

    public String getOsdLotnum() {
        return osdLotnum;
    }

    public void setOsdLotnum(String osdLotnum) {
        this.osdLotnum = osdLotnum;
    }

    public Float getOsdOneprice() {
        return osdOneprice;
    }

    public void setOsdOneprice(Float osdOneprice) {
        this.osdOneprice = osdOneprice;
    }

    public Integer getOsdNum() {
        return osdNum;
    }

    public void setOsdNum(Integer osdNum) {
        this.osdNum = osdNum;
    }


    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public Integer getKeyId() {
        return keyId;
    }

    public void setKeyId(Integer keyId) {
        this.keyId = keyId;
    }
}
